<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset={CHARSET}"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" >
<title>$navtitle</title>
<meta name="description" content="$metakeywords" /> 
<meta name="keywords" content="$metadescription" />
<link rel="stylesheet" href="source/plugin/aljbd/css/sj/base.css" />
{template aljbd:common}
</head>
<body>
<link rel="stylesheet" href="source/plugin/aljbd/css/sj/style.min.css" type="text/css"/>
<script src="source/plugin/aljbd/js/jquery.js"></script>
<script type="text/javascript">
    var jq = jQuery.noConflict();
</script>
{template aljbd:header}
<style type='text/css'>
	table tr{
		line-height:30px;
	}
	.title{
		font-size:14px;
		font-weight:bold;
	}
	.footer {
		text-align: center;
		line-height: 2em;
		color: #A5A5A5;
		padding: 10px 0 0 0;
	}
	.input {
		border:1px solid #e0e0e0;
	}
</style>
<style type="text/css">
.tb-prop li {
float: left;
line-height: 20px;
margin: 0 4px 4px 0;
padding: 1px;
position: relative;
vertical-align: middle;
}
.J_TSaleProp li {
line-height: 16px;
}
.tb-prop li.tb-selected a {
border: 2px solid #be0106;
margin: -1px;
}
.tb-prop li a {
background-color: #fff;
border: 1px solid #b8b7bd;
color: #000;
float: left;
min-width: 10px;
padding: 0 9px;
text-align: center;
text-decoration: none;
white-space: nowrap;
width: auto !important;
}
.tb-prop li span {
padding-left: 1px;
}
.tb-prop .tb-selected i {
background-position: -62px -16px;
background-repeat: no-repeat;
bottom: 0;
display: block;
height: 12px;
overflow: hidden;
position: absolute;
right: 0;
text-indent: -99em;
width: 12px;
}
.tb-selected i{
background-image:url("source/plugin/aljbd/images/TB1UN3XHpXXXXcvXXXXBJc1_FXX-114-30.png");
}
.buy-btn {
height: 34px;
width: 105px;
color: #fff;
background-color: #f63;
border-radius: 5px;
text-align: center;
line-height: 35px;
display: block;
font-size: 16px;
}
</style>
<div class="widthMAX pr_show_txt" style="font-size:18px;margin:10px;">
<iframe name="formsubmit" style="display:none"></iframe>
<form id="addbc" method="post" action="{$is_url}" {if $config['isextcredit'] && $config['extcredit']}target="formsubmit"{/if}>
<input name="formhash" type="hidden" value="{FORMHASH}" />
		<div class="c">
        
        
        	<table cellspacing="0" cellpadding="0" border="0">
                
  				<tbody>
				<tr>
				<td style="width:90px;" class="title"><span style="color:red;"></span>{lang aljbd:sc68}</td>
    				<td height="40">$good['name']</td>
                </tr>
				
				<tr>
					<td style="width:90px" class="title"><span style="color:red;"></span>{lang aljbd:list_goods_3}&nbsp;:&nbsp;</td>
    				<td height="40" style="font-family: Arial;">{if $good['price1']}{if $config['isextcredit'] && $config['extcredit']}{$good['price1']}{$_G['setting']['extcredits'][$config['extcredit']]['title']}{else}&#65509;{$good['price1']}{/if}{/if}</td>
                </tr>
				
				{loop $goodattrs $name $thisattr}
				<tr>
					
					<td class="title"><span style="color:red;"></span>{$typename[$name]}&#65306;<input type="hidden" value="" name="typename[$name]" id="typename_{$name}"></td>
					<td height="40">
						<span class="tb-prop">
							<ul class="tm-clear J_TSaleProp attr_{$name}">
								{loop $thisattr $attr}
								<li class="" data="{$attr['mid']}" datatype="{$name}">
								<a href="javascript:;">
								<span>$attr['content']</span>
								</a>
								<i></i>
								</li>
								{/loop}
							 </ul>
						</span>
					</td>
				</tr>
				{/loop}
				
				<tr>
					<td width="90px" class="title"><span style="color:red;"></span>{lang aljbd:tg43}</td>
    				<td height="40">
					<input type="text" name="num" value="1" class="px input" style="height:28px;width:50px;font-size:18px" >
					</td>
                </tr>
				
				<tr>
					<td width="90px" class="title"><span style="color:red;"></span>{lang aljbd:sc71}</td>
    				<td height="40">$user['addr'](<a style="color: #105CB6;" href="plugin.php?id=aljbd&act=addr&formhash={FORMHASH}&gid={$good['id']}">{lang aljbd:sc72}</a>)</td>
                </tr>
				
				<tr>
					<td width="90px" class="title"><span style="color:red;"></span>{lang aljbd:sc73}</td>
    				<td height="40">$user['tel'](<a style="color: #105CB6;" href="plugin.php?id=aljbd&act=addr&formhash={FORMHASH}&gid={$good['id']}">{lang aljbd:sc74}</a>)</td>
                </tr>
				<tr>
					<td width="90px" class="title">{lang aljbd:remarks}</td>
					<td height="40"><input type="text" name="remarks" value="" class="px"></td>
				</tr>
				{if $good['price1']}
				<tr style="line-height:60px">
    				<td colspan="2"><div class="pr_show_btn">
<div onclick="jq('#addbc').submit()" class="buy-btn" id="exchange-submit-btn" style="width:100%">
{lang aljbd:sj_goodview_1}</div>
</div></td></tr>
{/if}
				
            </tbody></table>
	
</div>

</form>
</div>

<script type='text/javascript'>
function tips(txt, fun) {
	jq('.tips').remove();
	var div = jq('<div style="background: url(source/plugin/aljbd/images/tips.png);max-width: 85%;min-height: 77px;min-width: 270px;position: absolute;left: -1000px;top: -1000px;text-align: center;border-radius:10px;"><span style="color: #ffffff;line-height: 77px;font-size: 23px;">' + txt + '</span></div>');
	jq('body').append(div);
	div.css('zIndex', 9999999);
	div.css('left', parseInt((jq(window).width() - div.width()) / 2));
	var top = parseInt(jq(window).scrollTop() + (jq(window).height() - div.height()) / 2);
	div.css('top', top);
	setTimeout(function() {
		div.remove();
		if (fun) {
			fun();
		}
	}, 2000);
}
</script>
<script type="text/javascript">
jq('.J_TSaleProp li').click(function(){
	jq('.attr_'+jq(this).attr('datatype')+' li').removeClass('tb-selected');
	jq(this).addClass('tb-selected');
	jq('#typename_'+jq(this).attr('datatype')).val(jq(this).attr('data'));

});
</script>
<script type="text/javascript">
if(navigator.userAgent.indexOf('Appbyme') > -1){
	{if $settings['hidetop']['value']==1}
	jq('header').hide();
	jq('li header').show();
	{/if}
	{if $settings['hidebottom']['value']==1}
	jq('footer').hide();
	jq('.footermenu').hide();
	{/if}
}
</script>
<style type="text/css">
	.footermenu ul li span{
	color: {if $settings['footer_img_color']['value']}$settings['footer_img_color']['value']{else}#666{/if};
}
</style>
{template aljbd:footer}